// 专家端我的
import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request
export default {
	// 获取新回复列表
	queryNewReply(params){
		let url = 'socialized-expert/invitation/queryByNoReplyFromTheExpert'
		return api.request(url,'get',{
			...params
		})
	},
	// 新回复帖子个数
	queryNewReplyNum() {
		let url = 'socialized-expert/invitation/queryCountByNoReplyFromTheExpert'
		return api.request(url,'get')
	},
	// 获取待诊断列表--还没回复过的/needDiagnosticNum
	queryUndiagnosedList(params) {
		let url = 'socialized-expert/invitation/needDiagnosticNum'
		return api.request(url,'get',{
			...params
		})
	},
	// 新回复--清零
	clearReplyNum(serviceProviderNo) {
		let url = `socialized-expert/invitation/clearReplayDiagnosticNum?serviceProviderNo=${serviceProviderNo}`
		return api.request(url,'get')
	}

}